﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HAVNet.Intros.AST
{
    public class ASTObjectOrCollecInit : ASTNode
    {
        public bool hasFinalComma { get; set; }
        public readonly ASTMemberOrElemInits memberInits = new ASTMemberOrElemInits();

        public override string ToString()
        {
            return "{" + memberInits + (hasFinalComma ? "," : "") + "}";
        }
    }
}
